package com.eggy648.moreeggs.achievement;

import com.eggy648.moreeggs.item.ItemLoader;
import net.minecraft.stats.Achievement;
import net.minecraft.stats.AchievementList;
import net.minecraftforge.common.AchievementPage;

/**
 * Created by Cheese on 2017/2/26.
 * load achievements
 */
public class AchievementsLoader {

    public static Achievement ironEgg=new Achievement("achievement.moreeggs.ironEgg",
            "moreeggs.ironEgg",0,0,ItemLoader.ironEgg,null);
    public static Achievement ironThroat=new Achievement("achievement.moreeggs.ironThroat",
            "moreeggs.ironThroat",2,0,ItemLoader.ironEgg,
            ironEgg);
    public static AchievementPage moreeggsAchievementPage=new AchievementPage("More Eggs",
            ironEgg,ironThroat);
    public AchievementsLoader() {
        ironThroat.setSpecial().registerStat();
        ironEgg.initIndependentStat().registerStat();

        AchievementPage.registerAchievementPage(moreeggsAchievementPage);
    }
}
